<html>
<head>
</head>
<body>
#{form @EmployeeArea.createCustomerHandler()}
 
    #{ifErrors}
    
    #{list items:errors, as:'error' }
        <p class="error">
            ${error}
        </p>
    #{/list}
    #{/ifErrors}
 
    <p>
        <label for="username">*Username: </label>
        <input type="text" name="username" id="username" value="${params.username}"/>
    </p>
    <p>
        <label for="password">*Password: </label>
        <input type="text" name="password" id="password" value="${params.password}"/>
    </p>
    <p>
        <label for="firstname">*First name: </label>
        <input type="text" name="firstname" id="firstname" value="${params.firstname}"/>
    </p>
    <p>
        <label for="lastname">*Last name: </label>
        <input type="text" name="lastname" id="lastname" value="${params.lastname}"/>
    </p>
    
    <p>
        <label for="addr_line1">Address Line 1: </label>
        <input type="text" name="addr_line1" id="addr_line1" value="${params.addr_line1}"/>
    </p>
    
    <p>
        <label for="addr_line2">Address Line 2: </label>
        <input type="text" name="addr_line2" id="addr_line2" value="${params.addr_line2}"/>
    </p>
    
    <p>
        <label for="city">City: </label>
        <input type="text" name="city" id="city" value="${params.city}"/>
    </p>
    
    <p>
        <label for="state">State: </label>
        <input type="text" name="state" id="state" value="${params.state}"/>
    </p>
    
    <p>
        <label for="zip">Zip: </label>
        <input type="text" name="zip" id="zip" value="${params.zip}"/>
    </p>
    
    <p>
        <label for="cashString">*Cash: </label>
        <input type="text" name="cashString" id="cashString" value="${params.cashString}"/>
    </p>

    <p>
        <input type="submit" value="Create Customer" />
    </p>   
        
    <p>
    * Required
    </p>
   
#{/form}
